<template>
  <div>
    <!-- 资料信息 -->
    <div class="total">
      <el-form :label-position="labelPosition" label-width="100px" :model="formLabelAlign">
        <el-form-item label="昵称">
          <el-input v-model="formLabelAlign.name"></el-input>
        </el-form-item>
        <el-form-item label="性别">
          <el-radio-group fill="#F39800" v-model="radio">
            <el-radio-button label="1" border>男</el-radio-button>
            <el-radio-button label="2" border>女</el-radio-button>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="地区">
          <el-input v-model="formLabelAlign.area"></el-input>
        </el-form-item>
        <el-form-item label="介绍">
          <el-input type="textarea"
            :rows="5"
            v-model="textarea"></el-input>
        </el-form-item>
      <el-form-item>
        <el-button type="warning" @click="revise()">确认更改</el-button>
      </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        radio: '1',
        textarea: '',
        labelPosition: 'left',
        formLabelAlign: {
          name: '',
          area: '',
          type: '',
          
        }
      };
    }

  }
</script>

<style lang="scss" scoped>

</style>
<style>
.el-input {
  width: 300px;
}
.el-textarea__inner {
  width: 600px;
}
</style>